<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="../../common.jsp"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script type="text/javascript" src="${staticPath}/js/app/setting/setting.js"></script>
<script type="text/javascript" src="${staticPath}/js/webuploader/webuploader.js"></script>
<link type="text/css" rel="stylesheet" href="${staticPath}/js/webuploader/webuploader.css" />
<link type="text/css" rel="stylesheet" href="${staticPath}/js/webuploader/style.css" />
<script type="text/javascript" src="${staticPath}/js/app/setting/uploader.js"></script>
<title>个人信息设置</title>
<style type="text/css">
label {
	display: -moz-inline-block;
	display: inline-block;
	cursor: pointer;
	margin: 5px 0;
	padding-right: 25px;
	line-height: 25px;
	font-size: 16px;
}
</style>
</head>
<body>
	<header class="contHeader">
		<div class="contOHeader">
			<h1>个人信息设置</h1>
			<div class="contOHeadBack">
				<a href="javascript:void(0)" onclick="gotoHtml('/center/center.html')">
					<img src="${staticPath}/images/back2.png">
				</a>
			</div>
		</div>
	</header>
	<div class="weui_cells weui_cells_access">
		<div id="photo">
			<div id="picker"></div>
			<div id="fileList"></div>
		</div>
		<div class="weui_cell" onclick="selectfile()">
			<div class="weui_cell_bd weui_cell_primary">
				<p>头像</p>
			</div>
			<div>
				<img id="img1" style="width:55px; height:55px;border-radius:50%;" src="${member.avatar }" onerror="this.src='${staticPath}/images/nologin.png'">
			</div>
		</div>
		<div class="weui_cell" id="editname">
			<div class="weui_cell_bd weui_cell_primary">
				<p>昵称</p>
			</div>
			<div class="weui_cell_ft">${member.name }</div>
		</div>
		<div class="weui_cell" id="editpw">
			<div class="weui_cell_bd weui_cell_primary">
				<p>修改登录密码</p>
			</div>
			<div class="weui_cell_ft"></div>
		</div>
		<div class="weui_cell" id="editpaypw">
			<div class="weui_cell_bd weui_cell_primary">
				<p>修改支付密码</p>
			</div>
			<div class="weui_cell_ft"></div>
		</div>
		<div class="weui_cell" id="editsex">
			<div class="weui_cell_bd weui_cell_primary">
				<p>性别</p>
			</div>
			<div class="weui_cell_ft">
				<c:if test="${member.sex == 0 }">保密</c:if>
				<c:if test="${member.sex == 1 }">男</c:if>
				<c:if test="${member.sex == 2 }">女</c:if>
			</div>
		</div>
		<div class="weui_cell" onclick="choose('0');">
			<div class="weui_cell_bd weui_cell_primary">
				<p>手机</p>
			</div>
			<div class="weui_cell_ft">${member.mobile }</div>
		</div>
		<div class="weui_cell" onclick="choose('1');">
			<div class="weui_cell_bd weui_cell_primary">
				<p>邮箱</p>
			</div>
			<div class="weui_cell_ft">${member.email }</div>
		</div>
	</div>

</body>
</html>